import request from '@/utils/request'

// 查询质检人表列表
export function listSeacQualityInspectorMember(query, pageReq) {
  return request({
    url: '/ums/seacQualityInspectorMember/list',
    method: 'post',
    data: query,
    params: pageReq
  })
}
// 查询所有质检人表列表
export function allSeacQualityInspectorMember(query, pageReq) {
  return request({
    url: '/ums/seacQualityInspectorMember/all',
    method: 'post',
    data: query,
    params: pageReq
  })
}
// 查询质检人表详细
export function getSeacQualityInspectorMember(id) {
  return request({
    url: '/ums/seacQualityInspectorMember/' + id,
    method: 'get'
  })
}

// 新增质检人表
export function addSeacQualityInspectorMember(data) {
  return request({
    url: '/ums/seacQualityInspectorMember',
    method: 'post',
    data: data
  })
}

// 修改质检人表
export function updateSeacQualityInspectorMember(data) {
  return request({
    url: '/ums/seacQualityInspectorMember',
    method: 'put',
    data: data
  })
}

// 删除质检人表
export function delSeacQualityInspectorMember(id) {
  return request({
    url: '/ums/seacQualityInspectorMember/' + id,
    method: 'delete'
  })
}

// 导出质检人表
export function exportSeacQualityInspectorMember(query) {
  return request({
    url: '/ums/seacQualityInspectorMember/export',
    method: 'get',
    params: query
  })
}
